package com.wzy.portfolio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "基金每日详情")
public class FundDetails {

    @Schema(description = "基金名")
    private String fundName;

    @Schema(description = "基金编号")
    private String fundCode;

    @Schema(description = "日期")
    private String monitorDate;

    @Schema(description = "实际涨跌幅")
    private String zdf;

    @Schema(description = "预测涨跌幅")
    private String yczdf;

    @Schema(description = "单位净值")
    private String dwjz;

    @Override
    public String toString() {
        return fundName+","+fundCode+",日期:"+monitorDate+",涨跌幅:"+zdf+",净值:"+dwjz;
    }
}
